<#ftl encoding="UTF-8" />
            <div id="panel_top" style="position:relative; height:28px; line-height:28px; text-align:center;">
                <div id="panel_search" style="position:relative; margin:0 auto; top:2px;">   
                    <label for="MonthOfPayed">对账日：</label>
                    <select id="MonthOfPayed" tabindex="1" style="width:75px;">
                        <option value="-1">-- 选择 --</option>
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                    </select>（月）&nbsp;&nbsp;&nbsp;
                    <label for="YearOfBill">开票日：</label>
                    <select id="YearOfBill" name="_YearOfBill" tabindex="2" style="width:60px;">
                        <#if YearList?exists>
                        <#list YearList as _year>
                        <option value="${_year}">${_year}</option>
                        </#list>
                        </#if>
                    </select>（年）
                    <select id="MonthOfBill" tabindex="3" style="width:35px;">
                        <option value="01">1</option>
                        <option value="02">2</option>
                        <option value="03">3</option>
                        <option value="04">4</option>
                        <option value="05">5</option>
                        <option value="06">6</option>
                        <option value="07">7</option>
                        <option value="08">8</option>
                        <option value="09">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                    </select>（月）
                    &nbsp;&nbsp;&nbsp;
                    供应商：<input type="text" id="SupplierName" name="_SupplierName" tabindex="4" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    发票号：<input type="text" id="InvoiceNo" name="_InvoiceNo" tabindex="5" />
                    <input type="button" name="_but_filter" value="搜索" id="but_filter" class="act__button" onclick="_Instance.DoSearch();"/>
                    <input type="button" name="_but_print" value="打印" id="but_print" class="act__button" onclick="_Instance.DoPrint();" />
                    &nbsp;&nbsp;
                    <select id="HasSubTotal" name="_HasSubTotal" tabindex="8" onchange="_Instance.DoSearch();" style="width:120px;">
                        <option value="0"> -- 无小计显示 --</option>
                        <option value="1"> -- 按发票号小计 --</option>
                        <option value="2"> -- 按对账月小计 --</option>
                    </select>
                </div>
            </div>
            <div id="grid_wrapper" style="clear:both; position:relative; top:10px; margin:0 8px;">
                <table id="tab_head01" class="layout display" style="width:100%;">
                    <colgroup>
                        <col style="width: 90px;" />
                        <col style="width: 100px;" />
                        <col />
                        <col style="width: 280px;" />
                        <col style="width: 80px;" />
                        <col style="width: 80px;" />
                        <col style="width: 35px;" />
                        <col style="width: 80px;" />
                        <col style="width: 80px;" />
                        <col style="width: 35px;" />
                        <col style="width: 180px;" />
                        <col style="width: 42px;" />
                        <col style="width: 42px;" />
                        <col style="width: 18px;" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th rowspan="2" class="report" style="text-align:center;">发票编号</th>
                            <th rowspan="2" class="report" style="text-align:center;">供应商</th>
                            <th rowspan="2" class="report" style="text-align:center;">款号</th>
                            <th rowspan="2" class="report" style="text-align:center;">付款合同号</th>
                            <th colspan="3" class="report cell_01" style="text-align:center;">材料购入额</th>
                            <th colspan="3" class="report clee_01" style="text-align:center;">非材料花费</th>
                            <th rowspan="2" class="report" style="text-align:center;">材料名称</th>
                            <th rowspan="2" class="report" style="text-align:center;">对账月</th>
                            <th rowspan="2" class="report" style="text-align:center;">付款月</th>
                            <th rowspan="2" class="report" style="text-align:center;"></th>
                        </tr>
                        <tr>
                            <th style="text-align:center;" class="cell_02">含税</th>
                            <th style="text-align:center;" class="cell_02">不含税</th>
                            <th style="text-align:center;" class="cell_02">税率</th>
                            <th style="text-align:center;" class="cell_02">含税</th>
                            <th style="text-align:center;" class="cell_02">不含税</th>
                            <th style="text-align:center;" class="cell_02">税率</th>
                        </tr>
                    </thead>
                </table>
                <div id="div_content" class="grid__data_wrapper" style="border-left:none; width:100%; overflow-y:scroll;">
                    <table id="tab_data01" class="responsive__table" style="margin-top:-1px;">
                        <colgroup>
                            <col style="width: 90px;" />
                            <col style="width: 100px;" />
                            <col />
                            <col style="width: 280px;" />
                            <col style="width: 80px;" />
                            <col style="width: 80px;" />
                            <col style="width: 35px;" />
                            <col style="width: 80px;" />
                            <col style="width: 80px;" />
                            <col style="width: 35px;" />
                            <col style="width: 180px;" />
                            <col style="width: 42px;" />
                            <col style="width: 42px;" />
                        </colgroup>
                        <tbody></tbody>
                    </table>
                </div>
                <table id="tab_head02" class="layout display" style="width:430px; margin-top:5px;">
                    <colgroup>
                        <col style="width: 50px;" />
                        <col style="width: 120px;" />
                        <col style="width: 120px;" />
                        <col style="width: 120px;" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th class="report" style="text-align:center;"></th>
                            <th class="report" style="text-align:center;">材料总金额</th>
                            <th class="report" style="text-align:center;">非材料总金额</th>
                            <th class="report" style="text-align:center;">总金额</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td style="background:#e3e3e3; text-align:center;">含　税</td>
                            <td style="text-align:center;" id="TotalAmountMaterialAddedTax"></td>
                            <td style="text-align:center;" id="TotalAmountNonMaterialAddedTax"></td>
                            <td style="text-align:center;" id="TotalAmountAddedTax"></td>
                        </tr>
                        <tr>
                            <td style="background:#e3e3e3; text-align:center;">不含税</td>
                            <td style="text-align:center;" id="TotalAmountMaterialExcludedTax"></td>
                            <td style="text-align:center;" id="TotalAmountNonMaterialExcludedTax"></td>
                            <td style="text-align:center;" id="TotalAmountExcludedTax"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
